package com.zhejiangzhengyuan.municipal_common.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <p>
 *
 * </p>
 *
 * @author linju
 * @since 2020-01-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "SubsidiaryFacilitiesGisFileMapping对象", description = "")
public class SubsidiaryFacilitiesGisFileMapping extends Model<SubsidiaryFacilitiesGisFileMapping> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增主键")
    private Long id;

    @ApiModelProperty(value = "附属设施主键")
    private Long subsidiaryFacilitiesGisId;

    @ApiModelProperty(value = "文件主键")
    private Long fileId;

    @ApiModelProperty(value = "创建时间")
    private Timestamp createTime;
    @ApiModelProperty(value = "更新时间")
    private Timestamp updateTime;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
